Mihdan\ReCrawler\Dependencies\phpseclib3\Net\SSH2 D

Total Complexity 673
Dependencies 34
Dependents 1
Total lines 4,328
Lines of code 2,312
Logical lines of code 1,657
Comment lines 1,797
Methods 89
Properties 105

Methods 89

Method Rating Maintainability Complexity Lines of code
key_exchange()
D
7
91 351
get_channel_packet()
D
24
50 157
get_binary_packet()
D
22
42 177
filter()
D
29
35 115
send_binary_packet()
D
31 32 97
sublogin()
D
36 32 77
connect()
C
33 26 91
login_helper()
C
34 24 89
encryption_algorithm_to_key_size()
C
45 27 37
encryption_algorithm_to_crypt_instance()
B
45 24 39
privatekey_login()
B
33 18 104
getServerPublicHostKey()
B
40 19 60
read_remaining_bytes()
B
44 19 38
keyboard_interactive_process()
B
40 16 56
exec()
A
40 14 57
getSupportedEncryptionAlgorithms()
A
41 13 60
setPreferredAlgorithms()
A
44 13 43
mac_algorithm_to_hash_instance()
A
51 14 25
append_log()
A
42 12 54
read()
A
48 11 31
generate_identifier()
S
54 7 21
close_channel()
S
55 6 19
initShell()
S
47 4 39
getLog()
S
59 5 14
disconnect_helper()
S
58 5 14
__construct()
S
46 4 29
login()
S
60 5 12
format_log()
S
52 4 22
ping()
S
55 4 20
define_array()
S
63 4 11
get_open_channel()
S
64 4 9
send_channel_packet()
S
58 3 15
write()
S
64 4 9
bad_algorithm_candidate()
S
66 4 9
requestAgentForwarding()
S
59 3 14
startSubsystem()
S
56 2 17
updateLogHistory()
S
70 3 5
getConnections()
S
63 3 10
ssh_agent_login()
S
64 3 10
get_interactive_channel()
S
65 3 10
getConnectionByResourceId()
S
69 3 6
disconnect()
S
68 3 7
array_intersect_first()
S
67 3 8
getSupportedKEXAlgorithms()
S
57 1 19
getSupportedMACAlgorithms()
S
59 1 17
getExitStatus()
S
72 2 6
on_channel_open()
S
74 2 5
disablePTY()
S
69 2 7
getSupportedCompressionAlgorithms()
S
67 2 8
getLastError()
S
70 2 6
reconnect()
S
65 2 9
keyboard_interactive_login()
S
62 1 13
getSupportedHostKeyAlgorithms()
S
64 1 12
getAlgorithmsNegotiated()
S
69 1 5
setTerminal()
S
81 1 3
getBannerMessage()
S
82 1 3
getWindowColumns()
S
82 1 3
getWindowRows()
S
82 1 3
setWindowColumns()
S
81 1 3
setWindowSize()
S
77 1 4
__toString()
S
81 1 3
getResourceId()
S
78 1 3
getAuthMethodsToContinue()
S
82 1 3
enableSmartMFA()
S
80 1 3
setWindowRows()
S
81 1 3
enableQuietMode()
S
80 1 3
getServerAlgorithms()
S
71 1 4
isTimeout()
S
82 1 3
sendIdentificationStringFirst()
S
80 1 3
sendIdentificationStringLast()
S
80 1 3
sendKEXINITFirst()
S
80 1 3
sendKEXINITLast()
S
80 1 3
setTimeout()
S
80 1 3
setKeepAlive()
S
82 1 3
getStdError()
S
82 1 3
stopSubsystem()
S
73 1 5
reset()
S
81 1 3
__destruct()
S
82 1 3
getServerIdentification()
S
77 1 4
isConnected()
S
79 1 3
isAuthenticated()
S
79 1 3
reset_connection()
S
63 1 10
setCryptoEngine()
S
80 1 3
disableQuietMode()
S
80 1 3
isQuietModeEnabled()
S
82 1 3
enablePTY()
S
80 1 3
isPTYEnabled()
S
82 1 3
getErrors()
S
82 1 3
disableSmartMFA()
S
80 1 3